import axios from '../request/index'
//获取数据
export const getUserData=async (url:string)=>{
  return await axios.get(url)
}

export const postRegUser=async (url:string,obj:any)=>{
  return await axios.post(url,obj)
}

export const postUser=async (url:string,obj:any)=>{
  return await axios.post(url,obj)
}

export const getUserSearch=async(url:string)=>{
  return await axios.get(url)
}
